package ambika.polymorphism;

public class PolymorphExampleTest {
	public static void main(String[] args){
		 PolymorphExample pE = new PolymorphExample();
		System.out.println("The area of a rectangle is "+pE.calculateArea(7,5));
		System.out.println("The area of a triangle is "+pE.calculateArea(7,5));
		System.out.println("The area of a trapezoid is "+pE.calculateArea(7,5,8));
	}
}
